/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.entity.lg;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.plian.Tools.DateUtil;
import com.plian.system.mybatis.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * 重大法律诉讼及仲裁案件 实体类
 *
 * @author gangan
 * @since 2019-09-27
 */
@Data
@TableName("lg_mlegal_proceedings_arbitration")
@EqualsAndHashCode(callSuper = true)
public class MlegalProceedingsArbitration extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 单据编码
	*/
		private String code;
	/**
	* 单位
	*/
		private String superiorGroupId;
	/**
	* 填报单位
	*/
		private String fillingUnitId;
	/**
	* 发生时间
	*/
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	@TableField(value = "occurrence_time",updateStrategy = FieldStrategy.IGNORED)
		private Date occurrenceTime;
	/**
	* 当事人各方
	*/
		private String parties;
	/**
	* 涉案金额（万元）
	*/
		private BigDecimal amountInvolved;
	/**
	* 案情焦点及争议
	*/
		private String caseFocus;
	/**
	* 处理措施和结果
	*/
		private String processingMeasuresResults;
	/**
	* 处理进度
	*/
		private String processingProgress;
	/**
	* 填表人
	*/
		private String preparer;
	/**
	* 联系电话
	*/
		private String contactNumber;
	/**
	* 填报时间
	*/
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	@TableField(value = "filling_time",updateStrategy = FieldStrategy.IGNORED)
		private Date fillingTime;
	/**
	* 版本号
	*/
		private String version;
	/**
	* 备注
	*/
		private String remark;
	/**
	* 审批人
	*/
		private String approvedUser;
	/**
	* 审批时间
	*/
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
		private Date approvedTime;
	/**
	* 审批意见
	*/
		private String approvedOpinion;
	/**
	* 乐观锁字段
	*/
		private Integer tsVersion;
	/**
	* 所属部门id
	*/
		private String deptId;
	/**
	* 所属组织id
	*/
		private String orgId;
	/**
	* 流程实例id
	*/
		private String formType;
	/**
	* 备选字段1
	*/
		private String def1;
	/**
	* 备选字段2
	*/
		private String def2;
	/**
	* 备选字段3
	*/
		private String def3;
	/**
	* 备选字段4
	*/
		private String def4;
	/**
	* 备选字段5
	*/
		private String def5;
	/**
	* 备选字段6
	*/
		private String def6;
	/**
	* 备选字段7
	*/
		private String def7;
	/**
	* 备选字段8
	*/
		private String def8;
	/**
	* 备选字段9
	*/
		private BigDecimal def9;
	/**
	* 备选字段10
	*/
		private BigDecimal def10;
	/**
	* 备选字段11
	*/
		private BigDecimal def11;
	/**
	* 备选字段12
	*/
		private BigDecimal def12;
	/**
	* 备选字段13
	*/
		private BigDecimal def13;
	/**
	* 备选字段14
	*/
		private Date def14;
	/**
	* 备选字段15
	*/
		private Date def15;
	/**
	* 备选字段16
	*/
		private Date def16;
	/**
	* 备选字段17
	*/
		private Date def17;
	/**
	* 备选字段18
	*/
		private Long def18;
	/**
	* 备选字段19
	*/
		private Long def19;
	/**
	* 备选字段20
	*/
		private Long def20;

	@TableField(exist = false)
	private List<HashMap> docList;
}
